package com.veo.service;

import com.veo.entity.Department;
import com.veo.mapper.DepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DepartmentService {

    @Autowired
    private DepartmentMapper mapper;

    public Department getDept(Integer id){
        return mapper.selectDeptById(id);
    }
}
